# 作   者: 刘自涵
# 创建时间: 2022/3/24 18:22

items = ['Fruits', 'Books', 'Others']
prices = [96, 78, 85]

d = {item: price for item, price in zip(items, prices)}
print(d)

items = ['Fruits', 'Books', 'Others']
prices = [96, 78, 85, 100, 120]

d = {item.upper(): price for item, price in zip(items, prices)}
print(d)
